package cn.edu.nankai.bookstore.domain.po;

import java.io.Serializable;
import java.math.BigDecimal;

public class Customer implements Serializable {
    private int customerId;
    private String name;
    private BigDecimal telephone;
    private String address;
    private String pwd;

    public Customer(int customerId, String name, BigDecimal telephone, String address, String pwd) {
        this.customerId = customerId;
        this.name = name;
        this.telephone = telephone;
        this.address = address;
        this.pwd = pwd;
    }

    public Customer(String name, BigDecimal telephone, String address, String pwd) {
        this.name = name;
        this.telephone = telephone;
        this.address = address;
        this.pwd = pwd;
    }

    public Customer() {
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getCustomerId() {
        return customerId;
    }


    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getTelephone() {
        return telephone;
    }

    public void setTelephone(BigDecimal telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "customerId=" + customerId +
                ", name='" + name + '\'' +
                ", telephone=" + telephone +
                ", address='" + address + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
